* {
    box-sizing: border-box;
}

body {
    background: url('https://osscdn.perfect99.com/perfect-mall-1/perfect-b2c-web-pc/prod/static/img/icon-bg.png') no-repeat;
    background-size: 100% 200%;
}
#tip{  
    position: absolute;
    top: -80px;
    left: 45%;
    height: 50px;
    background-color: #fff;
    border-radius: 10px;
    padding: 0 40px 0 20px;
    i{
       
        display: inline-block;
        width: 20px;
        height: 20px;
        border-radius: 50%;
        background-color: #FBB514;
        color: #fff;
        text-align: center;
        line-height: 20px;
        margin: 0 20px;
    }
    span{
        display: inline-block;
        height: 50px;
        line-height: 50px;
        color: #333;
        font-size: 18px;
    }
}
h3 {  
    width: 100%;
    padding: 80px 0 100px 0;
    display: flex;
    justify-content: center;
    img {
        width: 122px;
        height: 56px;
    }
}

main {
    width: 440px;
    // height: 600px;
    background-color: #fff;
    margin: 0 auto;
    box-shadow: 0 0 10px #eee;
    padding: 64px;
    h4 {
        width: 312px;
        font-size: 14px;
        color: #65C786;
        font-weight: 400;
        padding-bottom: 8px;
        border-bottom: 1px solid #eee;
        margin-bottom: 20px;
    }
    .phoneBox {
        width: 312px;
        height: 38px;
        padding: 8px 11px 6px 0;
        border: 1px solid #bfbfbf;
        border-radius: 5px;
        margin-bottom: 20px;
        &:hover {
            border-color: #65C786;
        }
        i {
            font-family: 'iconfont';
            font-size: 14px;
            color: #bfbfbf;
            padding: 0 15px 0 10px;
        }
        .phone {
            width: 245px;
            font-size: 16px;
            color: #bfbfbf;
        }
    }
    .codeContainer {
        width: 312px;
        display: flex;
        justify-content: space-between;
        margin-bottom: 15px;
        .inputCodeBox {
            width: 168px;
            height: 38px;
            padding: 10px 11px 6px 0;
            border: 1px solid #bfbfbf;
            border-radius: 5px;
            &:hover {
                border-color: #65C786;
            }
            i {
                font-family: 'iconfont';
                font-size: 14px;
                color: #bfbfbf;
                padding: 0 15px 0 10px;
            }
            .inputCode {
                width: 110px;
            }
        }
        .sendCode {
            width: 128px;
            padding: 8px 11px 6px 0;
            border: 1px solid #bfbfbf;
            background-color: #eee;
            border-radius: 5px;
            text-align: center;
            &:hover {
                background-color: #fff;
            }
        }
    }
    p {
        font-size: 14px;
        color: #333;
        em {
            display: inline-block;
            width: 18px;
            height: 18px;
            border-radius: 50%;
            border: 1px solid #FAAD14;
            color: #FAAD14;
            text-align: center;
            line-height: 18px;
            margin-left: 10px;
        }
    }
    .p1 {
        margin-top: 100px;
    }
    .cardContainer {
        margin-top: 30px;
        display: none;
        input {
            width: 312px;
            height: 40px;
            font-size: 16px;
            color: #bfbfbf;
            border: 1px solid #bfbfbf;
            padding: 8px 11px 6px 15px;
            border-radius: 5px;
            margin-bottom: 20px;
            &:hover {
                border-color: #65C786;
            }
        }
        .cardBox {
            position: relative;
            .cardCategories,
            .cardCategories2 {
                position: absolute;
                top: 50px;
                left: 0;
                width: 312px;
                height: 60px;
                border: 1px solid #999;
                background-color: #fff;
                display: none;
                span {
                    display: block;
                    font-size: 16px;
                    height: 30px;
                    line-height: 30px;
                    color: #999;
                    &:hover {
                        background-color: #94D26D;
                    }
                }
            }
        }
        p {
            input {
                width: 15px;
                height: 15px;
                vertical-align: top;
            }
        }
    }
    #submit {
        width: 312px;
        height: 38px;
        margin-top: 20px;
        border-radius: 5px;
        background-color: #BAE79A;
        color: #fff;
    }
    .revoke {
        width: 312px;
        height: 38px;
        display: block;
        margin-top: 20px;
        border-radius: 5px;
        background-color: #bfbfbf;
        border: 1px solid #999;
        color: #333;
        text-align: center;
        line-height: 38px;
    }
    .agreement {
        margin-top: 20px;
    }
    .cardContainer .spouse {
        display: none;
    }
}

.copyRight {
    width: 100%;
    font-size: 16px;
    color: #333;
    margin-top: 100px;
    margin-bottom: 20px;
    text-align: center;
}